The Pie Menu is useful when you want the user to concentrate his attention only
to the context of the book, without displaying buttons on the screen.
The Pie Menu script is written in the background. Only the first page includes a
supplementary script that avoids the Pie Menu appearing on entering the book
for accidental buttonDown messages while loading the file.
Remember to keep the Pie Menu in the first layer.
Hotword like this should have the precedence over the Pie Menu.
To create your own application, you should copy the following parts:
- book, background and first page scripts
- the PieMenu group (on every page of your book) and the field called
"Action" in the background (or backgrounds)
I suggest anyway to do these operations once your book is completed.....
"I intercepted the
{message
I've
precedence "\
& "over
-Pie Menu"
f"OK"
buttonDown
buttonDown
I intercepted the buttonDown message and I've the precedence
over the Pie Menu
PieMenu
GoPrev
stokecolor
0,0,0
Previsss
GoIndex
stokecolor
0,0,0
Index
GoNext
stokecolor
0,0,0
GoBack
stokecolor
0,0,0
txClassName
This page is called INDEX and could be the summary page of your book
pagina 3
[ see Callahan J., Hopkins D., Weiser M., Shneiderman B. (1988)
"An empirical comparison of Pie versus Linear Menus", Proceeedings of CHI' 88 ]
Pie Menu script is written in the background. Only the first page includes a
supplementary script that avoids the Pie Menu appearing on entering the book
for accidental buttonDown messages while loading the file.
Remember to keep the Pie Menu in the first layer.
Hotword like this should have the precedence over the Pie Menu.
To create your own application, copy the enterbook, background and first page scripts and add them to your book. Then make appear the Pie Menu of a page of this book,
switch to author level and copy it to every page of your application.
I suggest anyway to do these operations once your book is completed.
PieMenu
GoPrev
stokecolor
0,0,0
Previsss
GoIndex
stokecolor
0,0,0
Index
GoNext
stokecolor
0,0,0
GoBack
stokecolor
0,0,0
txClassName
Author
PieMenu
GoPrev
stokecolor
0,0,0
Previsss
GoIndex
stokecolor
0,0,0
Index
GoNext
stokecolor
0,0,0
GoBack
stokecolor
0,0,0
txClassName
This page is called INDEX and could be the summary page of your book
I look forward to hearing from you !
Your suggestions, comments and criticisms are very helpful for me.
They are new energy for everybody's brainstorming to find new interface solutions.
Please, write to:
Paolo Tosolini via Bembo, 5 34105 Muggia (TS) Italy
[ Callahan J., Hopkins D., Weiser M., Shneiderman B. (1988)
"An empirical comparison of Pie versus Linear Menus", Proceedings of CHI' 88 ]
[ Kurtenbach P.G., Sellen A. J. e Buxton W. A. S. (1992) ," An Empirical Evaluation of some Articulatory and Cognitive Aspects of Marking Menus", to print on HCI January 1993 ]
l and copy it to every page of your application.
I suggest anyway to do these operations once your book is completed.
Introduction
Suggestions
Author
System
Arial
System
mes New Roman
Arial
Arial
Arial
mes New Roman
enterBook
enterBook
sizeToPage
justOpen
System
-- * PIE MENU implementation v. 2.0
HPaolo Tosolini - Oct '92 *
-- *
-- *
suggestion
welcome. Please mail
-- *
-- *
-- * via Bembo, 5
34015
Muggia (TS)
-- * Italy
-- * tel. +39 40 275030
-- * fax. +39 40 311850
-- * email: tosolini@uts340.univ.trieste.
-- justOpen
^that avoids the appareance
pieMenu
accidental
cloading
8(i.e. doubleclicking on Toolbook Icon)
handler
become
4Xp, Yp, Xq, Yq
enterBook
enterBook
reader
sizeToPage
justOpen
reader
sizeToPage
justOpen
Action
PREVIOUS
PREVIOUS
Action
MouseEnter
MouseEnter
MouseEnter
ButtonUp
"pieMenu"
ButtonUp
ButtonUp
pieMenu
Index
Printer Set&up...
&Print Page
-- the
called "Action"
Background shows
(user which action
-- he did
IPieMenu
"pieMenu"
Xp-660,Yp-640 -- puts
v where
mouse
ClearPie
commands
"Up" -- no
shown
ckeeping pressed
rightMouseButton
Xp-660,Yp-640 --
-- loop
accelerate refresh
signed
loc2
) -- detects continuosly
-Xp) < 150 )
%-Yp) < 150) --
Pie,
znothing
{-Xp) >=
x-Yp)
NEXT angle ?
"GoNext"
"GoPrev"
"GoIndex"
"GoBack"
PREVIOUS
BACK
INDEX
"Up" -- exits
leftMouseButton
released
executed
releasing
Xp=0
-- avoids unexpected
appearance (i.e. doubleClicking on Toolbook icon)
(Xq-Xp) < 150 )
(Yq-Yp) < 150)
centre
(Xq-Xp) >=
(Yq-Yp)
Xq > Xp
Yq > Yp
LeavePage
"Reader"
error messages turning
without
--
Right+Left mousebutton
buttonStillDown
buttonUp
buttonDown
LeavePage
ClearPie
enterpage
rightButtonUp
enterpage
Action
buttonDown
pieMenu
!WClearPie
buttonStillDown
pieMenu
pieMenu
!WClearPie
GoNext
PieMenu
0,50,100
GoPrev
PieMenu
0,0,0
GoIndex
PieMenu
0,0,0
GoBack
PieMenu
0,0,0
GoNext
PieMenu
0,0,0
GoPrev
PieMenu
0,50,100
GoIndex
PieMenu
0,0,0
GoBack
PieMenu
0,0,0
GoNext
PieMenu
0,0,0
GoPrev
PieMenu
0,0,0
GoIndex
PieMenu
0,0,0
GoBack
PieMenu
0,50,100
GoNext
PieMenu
0,0,0
GoPrev
PieMenu
0,0,0
GoIndex
PieMenu
0,50,100
GoBack
PieMenu
0,0,0
buttonUp
PieMenu
Action
PREVIOUS
Action
Action
INDEX
Action
Index
PieMenu
LeavePage
Reader
Action
pieMenu
ClearPie
GoNext
PieMenu
0,0,0
GoPrev
PieMenu
0,0,0
GoIndex
PieMenu
0,0,0
GoBack
PieMenu
0,0,0
rightButtonUp
pieMenu
Introduction
necessary only
avoid unexpected
-- appearing
Menu due
bottonDown messages sent
cloading
ButtonDown
4justOpen
JustOpen
False
justopen
ButtonDown
enterpage
ButtonDown
JustOpen
justOpen
enterpage
justopen
justOpen
JustOpen
PIE MENU v. 2.0 by Paolo Tosolini - October '92
This is the new release of the Pie pop up Menu implemented in Toolbook using Openscript.
Now you can navigate though the pages of this book without any menu appears on the screen. Just click the mouseButton and (while keeping pressed it) move the pointer to :
RIGHT for NEXT PAGE
LEFT for PREVIOUS PAGE
UP for page called "Index"
DOWN for BACK
However, if you keep pressed the mouseButton for more than half second, the Pie Menu will be visible and you can see how it works while you move the pointer around it.
The action of changing page starts when you release the mouseButton.
You can make the PieMenu disapper just releasing the mouseButton in the centre of the Pie.
PieMenu
GoPrev
h stokecolor
0,0,0
Previsss
GoIndex
stokecolor
0,0,0
Index
GoNext
stokecolor
0,0,0
GoBack
stokecolor
0,0,0
txClassName
Author
PieMenu
GoPrev
stokecolor
0,0,0
Previsss
GoIndex
stokecolor
0,0,0
Index
GoNext
stokecolor
0,0,0
GoBack
stokecolor
0,0,0
txClassName
I look forward to hearing from you !
Your suggestions, comments and criticisms are very helpful for me.
They are new energy for everybody's brainstorming to find new interface solutions.
Please, write to:
Paolo Tosolini - via Bembo, 5 - 34105 Muggia (TS) - Italy
[ Callahan J., Hopkins D., Weiser M., Shneiderman B. (1988)
"An empirical comparison of Pie versus Linear Menus", Proceedings of CHI' 88 ]
[ Kurtenbach P.G., Sellen A. J. e Buxton W. A. S. (1992) ," An Empirical Evaluation of some Articulatory and Cognitive Aspects of Marking Menus", to print on HCI January 1993 ]
and copy it to every page of your application.
I suggest anyway to do these operations once your book is completed.
LeavePage
Action
pieMenu
ClearPie
GoNext
PieMenu
0,0,0
GoPrev
PieMenu
0,0,0
GoIndex
PieMenu
0,0,0
GoBack
PieMenu
Index
This page is called INDEX and could be the summary page of your book
The PieMenu includes the option to go to a page called "Index".
To change this option, you should replace the text "Index" in the
PieMenu field and the <go to page "Index"> script in the buttonUp
handler of the background.
The textFields of the PieMenu are called "GoNext, GoPrev, GoBack,
GoIndex". The entire group is called "PieMenu".
To avoid undesired flickering of the commands, set the DrawDirect properties of the PieMenu fields to False. For better visual results, in this book there are no DrawnDirect objects.
New improvements:
The PieMenu v.2.0 may result useful to navigate in a book in a linear way.
Four choices are not enough to substitute completely a traditional pull down menu.
In my next release I'll try to implement a kind of hierarchy of the commands .